package com.jilefojing.beans.pojos;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.jilefojing.beans.pojos.base.BasePo;

/**
 * 
 * @author 作者 jgshun
 * @date 创建时间 2016年10月03日 16时03分48秒
 */
@Table(name = "e_article")
public class EArticle extends BasePo {
	/**
	 * 属性查询列表
	 */
	public static final String FIELD_ID = "id";
	public static final String FIELD_TITLE = "title";
	public static final String FIELD_CONTENT = "content";
	public static final String FIELD_SORT = "sort";
	public static final String FIELD_CREATEUSER = "createUser";
	public static final String FIELD_UPDATETIME = "updateTime";
	public static final String FIELD_CREATETIME = "createTime";
	public static final String FIELD_COPYPUBLISHTIME = "copyPublishTime";
	public static final String FIELD_COPYWEBSITENAME = "copyWebsiteName";
	public static final String FIELD_COPYWEBSITEURL = "copyWebsiteUrl";
	public static final String FIELD_ENTITY = "entity";
	public static final String FIELD_PARENTID = "parentId";
	public static final String FIELD_STATUS = "status";
	public static final String FIELD_PROGRESSSTATUS = "progressStatus";

	/**
	 * 列名查询列表
	 */
	public static final String COLUMN_ID = "id";
	public static final String COLUMN_TITLE = "title";
	public static final String COLUMN_CONTENT = "content";
	public static final String COLUMN_SORT = "sort";
	public static final String COLUMN_CREATE_USER = "create_user";
	public static final String COLUMN_UPDATE_TIME = "update_time";
	public static final String COLUMN_CREATE_TIME = "create_time";
	public static final String COLUMN_COPY_PUBLISH_TIME = "copy_publish_time";
	public static final String COLUMN_COPY_WEBSITE_NAME = "copy_website_name";
	public static final String COLUMN_COPY_WEBSITE_URL = "copy_website_url";
	public static final String COLUMN_ENTITY = "entity";
	public static final String COLUMN_PARENT_ID = "parent_id";
	public static final String COLUMN_STATUS = "status";
	public static final String COLUMN_PROGRESS_STATUS = "progress_status";

	public static final String ORDER_SORT_DESC = " sort desc ";

	@Id
	@GeneratedValue(generator = "JDBC")
	private Long id;
	@Column(name = "title")
	private String title;
	@Column(name = "content")
	private String content;
	@Column(name = "sort")
	private Double sort;
	@Column(name = "create_user")
	private Long createUser;
	@Column(name = "update_time")
	private Date updateTime;
	@Column(name = "create_time")
	private Date createTime;
	@Column(name = "copy_publish_time")
	private Date copyPublishTime;
	@Column(name = "copy_website_name")
	private String copyWebsiteName;
	@Column(name = "copy_website_url")
	private String copyWebsiteUrl;
	private Short entity;
	@Column(name = "parent_id")
	private Long parentId;
	@Column(name = "status")
	private Short status;
	@Column(name = "progress_status")
	private Short progressStatus;

	/**
	 * 获取 主键
	 * 
	 * @return id - 主键
	 */
	public Long getId() {
		return id;
	}

	/**
	 * 设置 主键
	 * 
	 * @param id
	 *            - 主键
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * 获取 标题
	 * 
	 * @return title - 标题
	 */
	public String getTitle() {
		return title;
	}

	/**
	 * 设置 标题
	 * 
	 * @param title
	 *            - 标题
	 */
	public void setTitle(String title) {
		this.title = title;
	}

	/**
	 * 获取 内容
	 * 
	 * @return content - 内容
	 */
	public String getContent() {
		return content;
	}

	/**
	 * 设置 内容
	 * 
	 * @param content
	 *            - 内容
	 */
	public void setContent(String content) {
		this.content = content;
	}

	/**
	 * 获取 排序
	 * 
	 * @return sort - 排序
	 */
	public Double getSort() {
		return sort;
	}

	/**
	 * 设置 排序
	 * 
	 * @param sort
	 *            - 排序
	 */
	public void setSort(Double sort) {
		this.sort = sort;
	}

	/**
	 * 获取 创建者
	 * 
	 * @return createUser - 创建者
	 */
	public Long getCreateUser() {
		return createUser;
	}

	/**
	 * 设置 创建者
	 * 
	 * @param createUser
	 *            - 创建者
	 */
	public void setCreateUser(Long createUser) {
		this.createUser = createUser;
	}

	/**
	 * 获取 更新时间
	 * 
	 * @return updateTime - 更新时间
	 */
	public Date getUpdateTime() {
		return updateTime;
	}

	/**
	 * 设置 更新时间
	 * 
	 * @param updateTime
	 *            - 更新时间
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	/**
	 * 获取 创建时间
	 * 
	 * @return createTime - 创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 * 设置 创建时间
	 * 
	 * @param createTime
	 *            - 创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getCopyPublishTime() {
		return copyPublishTime;
	}

	public void setCopyPublishTime(Date copyPublishTime) {
		this.copyPublishTime = copyPublishTime;
	}

	public String getCopyWebsiteName() {
		return copyWebsiteName;
	}

	public void setCopyWebsiteName(String copyWebsiteName) {
		this.copyWebsiteName = copyWebsiteName;
	}

	public String getCopyWebsiteUrl() {
		return copyWebsiteUrl;
	}

	public void setCopyWebsiteUrl(String copyWebsiteUrl) {
		this.copyWebsiteUrl = copyWebsiteUrl;
	}

	public Short getEntity() {
		return entity;
	}

	public void setEntity(Short entity) {
		this.entity = entity;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public Short getStatus() {
		return status;
	}

	public void setStatus(Short status) {
		this.status = status;
	}

	public Short getProgressStatus() {
		return progressStatus;
	}

	public void setProgressStatus(Short progressStatus) {
		this.progressStatus = progressStatus;
	}
}